package com.formina.engine;

import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;

public class GameActivity extends Activity{

	protected GameView gameView;
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);  
        getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);  
	}
	
	 @Override
	    protected void onResume() {
	       super.onResume();
	       gameView.onResume();
	    }

	    @Override
	    protected void onPause() {
	       super.onPause();
	       gameView.onPause();
	    }
}
